package Test_1028;

import java.util.List;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-10-28
 * Time: 14:30
 */
public class Card {
   // 属性：
    //1.大小；
   private int size;
   // 2.花色；
    private String suit;
    public Card(int size, String suit) {
        this.size = size;
        this.suit = suit;
    }
    @Override
    public String toString() {
        return "{" + size + suit + "}";
    }
}
